package com.mask.im.business.model.entity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("sys_notify")
public class Notify {
	//id
	private Integer id;
	//通知标题
	private String notifyTitle;
	//通知内容
	private String notifyContent;
	//发布人
	private Integer publisher;
	//接收人
	private Integer receiver;
	//已删除的通知的用户
	private String deleteUser;
	//图标
	private String icon;
	//排序
	private Integer sort;
	//是否已阅读
	private Integer isRead;
	//通知时间
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;


}

